package com.lmk.homework;

import java.util.Scanner;

public class work01 {
    public static void main(String[] args) {
        Scanner sc=new Scanner(System.in);
        System.out.println("请输入会员数");
        int c=sc.nextInt();
        if (c==0){
            System.out.println("该会员享受折扣:"+0);
        }else if(c<2000){
            System.out.println("该会员享受折扣:"+0.9);
        }else if (c>=2000&&c<4000){
            System.out.println("该会员享受折扣:"+0.8);
        }else  if (c>=4000&&c<8000){
            System.out.println("该会员享受折扣:"+0.7);
        }else {
            System.out.println("该会员享受折扣:"+0.6);
        }
    }
}
